package me.spring.cloud.components.starter.monitor.notifier;

import de.codecentric.boot.admin.server.domain.entities.Instance;
import de.codecentric.boot.admin.server.domain.entities.InstanceRepository;
import de.codecentric.boot.admin.server.domain.events.InstanceEvent;
import de.codecentric.boot.admin.server.notify.AbstractStatusChangeNotifier;
import reactor.core.publisher.Mono;

/**
 * @author luffy
 * @description: 自定义监控通知
 * @date 2019-08-15 11:25
 */
public class CustomerNotifier extends AbstractStatusChangeNotifier {

  public CustomerNotifier(InstanceRepository repositpry) {
    super(repositpry);
  }

  @Override
  protected Mono<Void> doNotify(InstanceEvent instanceEvent, Instance instance) {
    return null;
  }
}
